home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / rpmspec.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  3KB  |  132 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <MODE>
  6.     <PROPS>
  7.         <PROPERTY NAME="lineComment" VALUE="#" />
  8.         <PROPERTY NAME="contextInsensitive" VALUE="true" />
  9.     </PROPS>
  10.     <RULES>
  11.         <!-- comments -->
  12.         <EOL_SPAN TYPE="COMMENT1" AT_LINE_START="TRUE">#</EOL_SPAN>
  13.  
  14.         <!-- Dependency operators -->
  15.         <SEQ TYPE="OPERATOR"><</SEQ>
  16.         <SEQ TYPE="OPERATOR">></SEQ>
  17.         <SEQ TYPE="OPERATOR">=</SEQ>
  18.  
  19.         <!-- %attr -->
  20.         <SPAN TYPE="MARKUP" DELEGATE="ATTR" NO_LINE_BREAK="TRUE">
  21.             <BEGIN>%attr(</BEGIN>
  22.             <END>)</END>
  23.         </SPAN>
  24.  
  25.         <!-- %verify -->
  26.         <SPAN TYPE="MARKUP" DELEGATE="VERIFY" NO_LINE_BREAK="TRUE">
  27.             <BEGIN>%verify(</BEGIN>
  28.             <END>)</END>
  29.         </SPAN>
  30.  
  31.         <!-- Source -->
  32.         <MARK_FOLLOWING TYPE="KEYWORD1"
  33.             AT_LINE_START="TRUE">Source</MARK_FOLLOWING>
  34.  
  35.         <!-- Patch -->
  36.         <MARK_FOLLOWING TYPE="KEYWORD1"
  37.             AT_LINE_START="TRUE">Patch</MARK_FOLLOWING>
  38.         <MARK_FOLLOWING TYPE="FUNCTION"
  39.             AT_LINE_START="TRUE">%patch</MARK_FOLLOWING>
  40.  
  41.         <!-- Variables -->
  42.         <SPAN TYPE="KEYWORD2" NO_LINE_BREAK="TRUE">
  43.             <BEGIN>${</BEGIN>
  44.             <END>}</END>
  45.         </SPAN>
  46.  
  47.         <SPAN TYPE="KEYWORD3" NO_LINE_BREAK="TRUE">
  48.             <BEGIN>%{</BEGIN>
  49.             <END>}</END>
  50.         </SPAN>
  51.  
  52.         <MARK_FOLLOWING TYPE="KEYWORD2">$#</MARK_FOLLOWING>
  53.         <MARK_FOLLOWING TYPE="KEYWORD2">$?</MARK_FOLLOWING>
  54.         <MARK_FOLLOWING TYPE="KEYWORD2">$*</MARK_FOLLOWING>
  55.         <MARK_FOLLOWING TYPE="KEYWORD2">$<</MARK_FOLLOWING>
  56.         <MARK_FOLLOWING TYPE="KEYWORD2">$</MARK_FOLLOWING>
  57.  
  58.         <KEYWORDS>
  59.             <KEYWORD1>Summary:</KEYWORD1>
  60.             <KEYWORD1>Name:</KEYWORD1>
  61.             <KEYWORD1>Version:</KEYWORD1>
  62.             <KEYWORD1>Release:</KEYWORD1>
  63.             <KEYWORD1>Copyright:</KEYWORD1>
  64.             <KEYWORD1>Group:</KEYWORD1>
  65.             <KEYWORD1>URL:</KEYWORD1>
  66.             <KEYWORD1>Packager:</KEYWORD1>
  67.             <KEYWORD1>Prefix:</KEYWORD1>
  68.             <KEYWORD1>Distribution:</KEYWORD1>
  69.             <KEYWORD1>Vendor:</KEYWORD1>
  70.             <KEYWORD1>Icon:</KEYWORD1>
  71.             <KEYWORD1>Provides:</KEYWORD1>
  72.             <KEYWORD1>Requires:</KEYWORD1>
  73.             <KEYWORD1>Serial:</KEYWORD1>
  74.             <KEYWORD1>Conflicts:</KEYWORD1>
  75.             <KEYWORD1>AutoReqProv:</KEYWORD1>
  76.             <KEYWORD1>BuildArch:</KEYWORD1>
  77.             <KEYWORD1>ExcludeArch:</KEYWORD1>
  78.             <KEYWORD1>ExclusiveArch:</KEYWORD1>
  79.             <KEYWORD1>ExclusiveOS:</KEYWORD1>
  80.             <KEYWORD1>BuildRoot:</KEYWORD1>
  81.             <KEYWORD1>NoSource:</KEYWORD1>
  82.             <KEYWORD1>NoPatch:</KEYWORD1>
  83.  
  84.             <LABEL>%prep</LABEL>
  85.             <LABEL>%install</LABEL>
  86.             <LABEL>%description</LABEL>
  87.             <LABEL>%build</LABEL>
  88.             <LABEL>%files</LABEL>
  89.             <LABEL>%clean</LABEL>
  90.             <LABEL>%pre</LABEL>
  91.             <LABEL>%post</LABEL>
  92.             <LABEL>%preun</LABEL>
  93.             <LABEL>%postun</LABEL>
  94.             <LABEL>%verifyscript</LABEL>
  95.  
  96.             <FUNCTION>%setup</FUNCTION>
  97.             <FUNCTION>%ifarch</FUNCTION>
  98.             <FUNCTION>%ifnarch</FUNCTION>
  99.             <FUNCTION>%ifos</FUNCTION>
  100.             <FUNCTION>%ifnos</FUNCTION>
  101.             <FUNCTION>%else</FUNCTION>
  102.             <FUNCTION>%endif</FUNCTION>
  103.  
  104.             <MARKUP>%doc</MARKUP>
  105.             <MARKUP>%config</MARKUP>
  106.             <MARKUP>%docdir</MARKUP>
  107.             <MARKUP>%dir</MARKUP>
  108.             <MARKUP>%package</MARKUP>
  109.         </KEYWORDS>
  110.     </RULES>
  111.  
  112.     <RULES SET="ATTR" HIGHLIGHT_DIGITS="TRUE">
  113.         <SEQ TYPE="OPERATOR">,</SEQ>
  114.         <SEQ TYPE="OPERATOR">-</SEQ>
  115.     </RULES>
  116.  
  117.     <RULES SET="VERIFY">
  118.         <KEYWORDS>
  119.             <KEYWORD2>owner</KEYWORD2>
  120.             <KEYWORD2>group</KEYWORD2>
  121.             <KEYWORD2>mode</KEYWORD2>
  122.             <KEYWORD2>md5</KEYWORD2>
  123.             <KEYWORD2>size</KEYWORD2>
  124.             <KEYWORD2>maj</KEYWORD2>
  125.             <KEYWORD2>min</KEYWORD2>
  126.             <KEYWORD2>symlink</KEYWORD2>
  127.             <KEYWORD2>mtime</KEYWORD2>
  128.             <OPERATOR>not</OPERATOR>
  129.         </KEYWORDS>
  130.     </RULES>
  131. </MODE>
  132.